#define _CRT_SECURE_NO_WARNINGS

#include<stdio.h>
#include<string.h>



//int main()
//{
//	char arr1[20] = "hallo";
//	char arr2[] = " world";
//
//	char* ret = strcat(arr1, arr2);
//
//	printf("%s\n", arr1);
//	printf("%s\n", ret);
//
//	return 0;
//}


int main()
{
	char arr1[20] = "hallo";
	char arr2[] = " worldxxxxxxxxxxxxx";

	char* ret = strncat(arr1, arr2,6);

	printf("%s\n", arr1);
	printf("%s\n", ret);

	return 0;
}